package com.mindata.blockchain.core.requestbody;

import com.mindata.blockchain.block.BlockBody;

/**
 * 生成Block时传参
 * 
 * @author wuweifeng wrote on 2018/3/8.
 */
public class BlockRequestBody {
	private String publicKey;
	private BlockBody blockBody;

	@Override
	public String toString() {
		return "BlockRequestBody{" + "publicKey='" + publicKey + '\'' + ", blockBody=" + blockBody + '}';
	}

	public String getPublicKey() {
		return publicKey;
	}

	public void setPublicKey(final String publicKey) {
		this.publicKey = publicKey;
	}

	public BlockBody getBlockBody() {
		return blockBody;
	}

	public void setBlockBody(final BlockBody blockBody) {
		this.blockBody = blockBody;
	}
}
